﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HrEFCore
{
    //面试表
    public class EI
    {
        [Key]
		[DisplayName("编号")]
		[Required(ErrorMessage = "编号不能为空")]
		public short EinId { get; set; }//主键
		[DisplayName("姓名")]
		[Required(ErrorMessage = "姓名不能为空")]
		public string HumanName { get; set; }//姓名
		[DisplayName("面试次数")]
		[Required(ErrorMessage = "面试次数不能为空")]
		public short InterviewAmount { get; set; }//面试次数
		[DisplayName("职位分类编号")]
		[Required(ErrorMessage = "职位分类编号不能为空")]
		public string HumanMajorKindId { get; set; }//职位分类编号
		[DisplayName("职位分类名称")]
		[Required(ErrorMessage = "职位分类名称不能为空")]
		public string HumanMajorKindName { get; set; }//职位分类名称
		[DisplayName("职位编号")]
		[Required(ErrorMessage = "职位编号不能为空")]
		public string HumanMajorId { get; set; }//职位编号
		[DisplayName("职位名称")]
		[Required(ErrorMessage = "职位名称不能为空")]
		public string HunmaMajorName { get; set; }//职位名称
		[DisplayName("形象等级")]
		[Required(ErrorMessage = "形象等级不能为空")]
		public string ImageDegree { get; set; }//形象等级
		[DisplayName("口才等级")]
		[Required(ErrorMessage = "口才等级不能为空")]
		public string NativeLanguageDegree { get; set; }//口才等级
		[DisplayName("外语水平等级")]
		[Required(ErrorMessage = "外语水平等级不能为空")]
		public string ForeignLanguageDegree { get; set; }//外语水平等级
		[DisplayName("应变能力")]
		[Required(ErrorMessage = "应变能力不能为空")]
		public string ResponseSpeedDegree { get; set; }//应变能力
		[DisplayName("EQ等级")]
		[Required(ErrorMessage = "EQ等级不能为空")]
		public string EQDegree { get; set; }//EQ等级
		[DisplayName("IQ_等级")]
		[Required(ErrorMessage = "IQ_等级不能为空")]
		public string IQDegree { get; set; }//IQ_等级
		[DisplayName("综合素质")]
		[Required(ErrorMessage = "综合素质不能为空")]
		public string MultiQualityDegree { get; set; }//综合素质
		[DisplayName("面试人")]
		[Required(ErrorMessage = "面试人不能为空")]
		public string Register { get; set; }//面试人
		[DisplayName("筛选人")]
		[Required(ErrorMessage = "筛选人不能为空")]
		public string Checker { get; set; }//筛选人
		[DisplayName("面试时间")]
		[Required(ErrorMessage = "面试时间不能为空")]
		public DateTime RegisteTime { get; set; }//面试时间
		[DisplayName("筛选时间")]
		[Required(ErrorMessage = "筛选时间不能为空")]
		public DateTime CheckTime { get; set; }//筛选时间
		[DisplayName("简历编号")]
		[Required(ErrorMessage = "简历编号不能为空")]
		public short ResumeId { get; set; }//简历编号
		[DisplayName("面试结果")]
		[Required(ErrorMessage = "面试结果不能为空")]
		public string Result { get; set; }//面试结果
		[DisplayName("面试评价")]
		[Required(ErrorMessage = "面试评价不能为空")]
		public string InterviewComment { get; set; }//面试评价
		[DisplayName("筛选评价")]
		[Required(ErrorMessage = "筛选评价不能为空")]
		public string CheckComment { get; set; }//筛选评价
		[DisplayName("面试状态")]
		[Required(ErrorMessage = "面试状态不能为空")]
		public short InterviewStatus { get; set; }//面试状态
		[DisplayName("筛选状态")]
		[Required(ErrorMessage = "筛选状态不能为空")]
		public short CheckStatus { get; set; }//筛选状态
        
    }
}
